import { instance } from "../utils/request";

export const userLogin = (userInfo)=>{
    return instance.post('/1.1/login',userInfo)
}

export const userRegister = (userInfo)=>{
    return instance.post('/1.1/users',userInfo)
}